package com.ruoyi.system.domain;

import java.sql.Time;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户陪诊关联对象 user_therapist_relation
 *
 * @author ruoyi
 * @date 2025-06-09
 */
public class UserTherapistRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 使用者ID */
    @Excel(name = "使用者ID")
    private Long userId;

    /** 陪诊人员ID */
    @Excel(name = "陪诊人员ID")
    private Long therapistId;

    /** 预约日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date selectedDate;

    /** 预约时间 */
    /** 预约时间 */
    @JsonFormat(pattern = "HH:mm")
    private String selectedTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setTherapistId(Long therapistId)
    {
        this.therapistId = therapistId;
    }

    public Long getTherapistId()
    {
        return therapistId;
    }
    public void setSelectedDate(Date selectedDate)
    {
        this.selectedDate = selectedDate;
    }

    public Date getSelectedDate()
    {
        return selectedDate;
    }

    public String getSelectedTime() {
        return selectedTime;
    }

    public void setSelectedTime(String selectedTime) {
        this.selectedTime = selectedTime;
    }

    @Override
    public String toString() {
        return "UserTherapistRelation{" +
                "id=" + id +
                ", userId=" + userId +
                ", therapistId=" + therapistId +
                ", selectedDate=" + selectedDate +
                ", selectedTime='" + selectedTime + '\'' +
                '}';
    }
}
